package com.bbzn.device.client.service;

import com.bbzn.device.client.dataobject.MiddleFlowNode;
import com.bbzn.device.client.dto.process.MiddleFlowNodeDTO;
import com.bbzn.device.client.utils.PageInfo;

import java.util.List;
public interface MiddleFlowNodeService{


    int deleteByPrimaryKey(Long id);

    int insert(MiddleFlowNode record);

    int insertOrUpdate(MiddleFlowNode record);

    int insertOrUpdateSelective(MiddleFlowNode record);

    int insertSelective(MiddleFlowNode record);

    MiddleFlowNode selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MiddleFlowNode record);

    int updateByPrimaryKey(MiddleFlowNode record);

    List<MiddleFlowNode> findByAll(MiddleFlowNode middleFlowNode);

    int updateBatch(List<MiddleFlowNode> list);

    int updateBatchSelective(List<MiddleFlowNode> list);

    int batchInsert(List<MiddleFlowNode> list);

    PageInfo<MiddleFlowNode> selectPageBySelective(MiddleFlowNodeDTO record);
}
